Cast GType to long and use %ld to fix warning. (#71318, Morten Welinder)
authorOwen Taylor <otaylor@redhat.com>
Wed, 13 Feb 2002 16:40:31 +0000 (16:40 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 13 Feb 2002 16:40:31 +0000 (16:40 +0000)
Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>

* tests/testtreeview.c (typesystem_recurse): Cast GType
        to long and use %ld to fix warning. (#71318, Morten Welinder)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
tests/testtreeview.c

index 908907d6b5edd6623b1990c9d7bc34843f484edf..e357064c65a4916360997d6cc09bece7c83ef006 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (typesystem_recurse): Cast GType
+       to long and use %ld to fix warning. (#71318, Morten Welinder)
+
 Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
index 908907d6b5edd6623b1990c9d7bc34843f484edf..e357064c65a4916360997d6cc09bece7c83ef006 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (typesystem_recurse): Cast GType
+       to long and use %ld to fix warning. (#71318, Morten Welinder)
+
 Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
index 908907d6b5edd6623b1990c9d7bc34843f484edf..e357064c65a4916360997d6cc09bece7c83ef006 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (typesystem_recurse): Cast GType
+       to long and use %ld to fix warning. (#71318, Morten Welinder)
+
 Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
index 908907d6b5edd6623b1990c9d7bc34843f484edf..e357064c65a4916360997d6cc09bece7c83ef006 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (typesystem_recurse): Cast GType
+       to long and use %ld to fix warning. (#71318, Morten Welinder)
+
 Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
index 908907d6b5edd6623b1990c9d7bc34843f484edf..e357064c65a4916360997d6cc09bece7c83ef006 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (typesystem_recurse): Cast GType
+       to long and use %ld to fix warning. (#71318, Morten Welinder)
+
 Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
index 908907d6b5edd6623b1990c9d7bc34843f484edf..e357064c65a4916360997d6cc09bece7c83ef006 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (typesystem_recurse): Cast GType
+       to long and use %ld to fix warning. (#71318, Morten Welinder)
+
 Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
index 908907d6b5edd6623b1990c9d7bc34843f484edf..e357064c65a4916360997d6cc09bece7c83ef006 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb 13 11:27:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (typesystem_recurse): Cast GType
+       to long and use %ld to fix warning. (#71318, Morten Welinder)
+
 Wed Feb 13 13:26:39 2002  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmenu.c: fix figuring accel path and changing behaviour.
index 10b5377e4805098aea2f2e1016cb03397eea9622..a2e5f149c9222c9a40cf3018346adfbbca7590a0 100644 (file)
@@ -511,7 +511,7 @@ typesystem_recurse (GType        type,
   
   gtk_tree_store_append (store, &iter, parent_iter);
 
-  str = g_strdup_printf ("%d", type);
+  str = g_strdup_printf ("%ld", (glong)type);
   gtk_tree_store_set (store, &iter, 0, str, 1, g_type_name (type),
                       2, our_pixbuf,
                       3, 7.0, 4, (guint) 9000,